]> dgit.raspbian.org Git - gnome-shell.git/commit
telepathyClient: fix duplicate copy of first message in a chat
authorDan Winship <danw@gnome.org>
Wed, 23 Mar 2011 19:25:42 +0000 (15:25 -0400)
committerDan Winship <danw@gnome.org>
Fri, 25 Mar 2011 22:47:01 +0000 (18:47 -0400)
commitd2de0865bfdfb1c77c36cf50674354d8ea085c9c
treef4c2f702da533e61b6a445a9ae69ced10aa1ea41
parent9b4dbd0e8368dbc5ff3f28f8d61b6d50402428f5
telepathyClient: fix duplicate copy of first message in a chat

The chat-history-fill-in code had logic to avoid appending two
messages when a message appeared in both the log and the pending
messages. But it wasn't working because of an incorrect object field
name.

Additionally, the code was previously keeping the copy of the message
from the log, and suppressing the copy from pending. But that meant
that once the previous bug was fixed, it would think it had only shown
old messages, and so it would create a source but not notify it. So
fix it to suppress the log message and show the pending message.

https://bugzilla.gnome.org/show_bug.cgi?id=645612
js/ui/telepathyClient.js